import { Widget } from "./widget";


class Canvas {

    static {
        globalThis.__Canvas__ = new Canvas();
    }


    addChild(child: Widget) {
        Deno.core.ops.opAddChild(child);
    }


}

export const canvas = new Canvas();